<?php
    echo $this->Form->create('false', array('type' => 'file', 'class' => 'form-horizontal', 'role' => 'form'));

    echo $this->Html->div('form-group',
            $this->Form->label('PilihFile', 'Pilih File', array('class' => 'col-sm-2 control-label')) .
            $this->Html->div('col-sm-10', 
                $this->Form->file('submittedfile', array('class' => 'form-control')))
            );
    
    
    echo $this->Html->div('form-group',
            $this->Form->label('TipeFile', 'Tipe File', array('class' => 'col-sm-2 control-label')) .
            $this->Html->div('col-sm-10', 
               $this->Form->select('type', array('PIB' => 'PIB'), array('class' => 'form-control')))
            );
    
    echo $this->Html->div('form-group',
            $this->Html->div('col-sm-offset-2 col-sm-10',
                    $this->Form->end('Upload', array('class' => 'btn btn-default'))
                )
            );
?>
<div>
    <?php print_r($test); ?><br />
    <?php echo $check; ?>
</div>